//
//  TFLRightViewCell.m
//  netEasy
//
//  Created by mac on 15/11/1.
//  Copyright © 2015年 mac. All rights reserved.
//

#import "TFLRightViewCell.h"

@interface TFLRightViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;

@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@end

@implementation TFLRightViewCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

+(instancetype)RightViewCell
{

    TFLRightViewCell * viewCell = [[[NSBundle mainBundle] loadNibNamed:@"TFLRightView" owner:nil options:nil] lastObject];
    
    return viewCell;

}
/**
 *  设置图标
 *
 *  @param imageName <#imageName description#>
 */
-(void)setImageName:(NSString *)imageName
{
    _imageName =imageName;
    
    self.iconImage.image = [UIImage imageNamed:imageName];
    
}

-(void)setDetailLabelText:(NSString *)detailLabelText
{
    _detailLabelText = detailLabelText;
    
    self.detailLabel.text = detailLabelText;
    
    
}


@end
